package com.zw.yzk.kabu.data.network.service;

import com.zw.yzk.kabu.data.network.entity.AtUserEntity;
import com.zw.yzk.kabu.data.network.entity.SearchUserEntity;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by zhanwei on 2017/5/14.
 */

public interface SearchUserService {
    @GET("api/user_search")
    Observable<SearchUserEntity> searchUser(
            @Query("visitor_id") String userId,
            @Query("access_token") String accessToken,
            @Query("index") int index,
            @Query("size") int size,
            @Query("keyword") String key);
}
